<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<!--框架必需start-->
		<script type="text/javascript" src="../../libs/js/jquery.js"></script>
		<script type="text/javascript" src="../../libs/js/language/cn.js"></script>
		<script type="text/javascript" src="../../libs/js/framework.js"></script>
		<link href="../../libs/css/import_basic.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" type="text/css" id="skin" prePath="../../" />
		<link rel="stylesheet" type="text/css" id="customSkin" />
		<!--框架必需end-->
	</head>

	<body>
		<div class="page_content">
			<div class="groupTitle"><span>示例说明</span></div>
			输入文字并点击按钮，页面顶部右上角小铃铛会出现未读信息提醒。实际使用时由后台推送消息或者前台轮询。
			
			<table>
				<tr>
					<td><input type="text" id="input1"/></td>
					<td><input type="button" value="点击发送消息"  class="default"></td>
				</tr>
				
			</table>
			
	</div>
	</body>
<script>
	$(".default").click(function(){
		top.addTip($("#input1").val());
		$("#input1").val('');
	});
</script>
</html>